package com.telit.firecommand.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.xiaolyuh.annotation.Cacheable;
import com.telit.firecommand.dto.PlotReturnDto;
import com.telit.firecommand.entity.CadPlot;

import java.util.List;


/**
 * <p>
 * 联动标绘 Mapper 接口
 * </p>
 *
 * @author yummy
 * @since 2021-07-31
 */
public interface CadPlotDao extends BaseMapper<CadPlot> {

    @Cacheable(value = "firecommand:plot:searchByFireAlarmId", depict = "根据火情ID查询联动标绘记录")
    List<PlotReturnDto> searchByFireAlarmId(String fireAlarmId);

}
